<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends Home_Controller {
    
    public function __construct() {
        parent::__construct();
		$this->load->model('News_model');
        
    }
	
	public function index(){
		$data = array();
		$data['new_list'] = $this->News_model->search(array("cid <="=>3,'status'=>1),"",5);
		$data['top_menu'] = "home";
		$this->layout_view('home/home',$data);
	}
  
    

}
